﻿<%@ Page Title="用户管理" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="SysUsers.aspx.cs" Inherits="tmsWeb.Sys.SysUsers" %>
<%@ Register Assembly="weblib" Namespace="micsun.Web.WebControls" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderBody" runat="server">
<form id="form1" runat="server" method="post">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table width="100%"  align="center">
                <tr>
                    <td height="80">
                        <table style="width: 100%;">
                            <tr>
                                <td style="height: 10px">
                                </td>
                            </tr>
                            <tr>
                                <td style="height: 26px" align="left">
                                    <asp:Button ID="btnNew" runat="server" Text="新增" Width="60px" OnClick="btnNew_Click"
                                        CssClass="input_1" />
                                    &nbsp;<asp:Button ID="btnEdt" runat="server" Text="修改" Width="60px" OnClick="btnEdt_Click"
                                        CssClass="input_1" />
                                    &nbsp;<asp:Button ID="btnQry" runat="server" Text="详情" Width="60px" OnClick="btnQry_Click"
                                        CssClass="input_1" />
                                    &nbsp;<asp:Button ID="btnDel" runat="server" Text="删除" Width="60px" OnClick="btnDel_Click"
                                        CssClass="input_1" />
                                    &nbsp; &nbsp;
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td valign="middle" nowrap align="center" colspan="1" rowspan="1">
                        快速定位：
                        <asp:DropDownList ID="SelectList" ForeColor="Black" BackColor="#c0c0c0" runat="server"
                            Width="120px">
                        </asp:DropDownList>
                        <asp:DropDownList ID="SelectLogic" ForeColor="Black" BackColor="#c0c0c0" runat="server"
                            Width="50px">
                            <asp:ListItem Value="Like">包含</asp:ListItem>
                            <asp:ListItem Value="=">等于</asp:ListItem>
                            <asp:ListItem Value="&gt;">大于</asp:ListItem>
                            <asp:ListItem Value="&lt;">小于</asp:ListItem>
                        </asp:DropDownList>
                        <asp:TextBox ID="txtContent" runat="server" Width="120px" CssClass="input_1"></asp:TextBox>&nbsp;
                        <asp:CheckBox ID="TwoCbx" runat="server" Text="二次查询" CssClass="checkbox"></asp:CheckBox>&nbsp;
                        <asp:Button ID="SelectBtn" Font-Size="9pt" runat="server" Text="查询" 
                            CssClass="input_1" OnClick="SelectBtn_Click" Width="40px"></asp:Button>
                    </td>
                </tr>
                <tr>
                    <td valign="top">
                        <cc1:GridViewPlus2 ID="DataGrid2" runat="server" Width="100%" AllowCustomPaging="True"
                            AllowPaging="True" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333"
                            GridLines="None" BorderColor="#657F93" BorderStyle="Solid" 
                            BorderWidth="1px" PageSize="15">
                            <PagerStyle NextPageText="&gt;&gt;" PrevPageText="&lt;&lt;" PageButtonCount="10"
                                BackColor="#284775" ForeColor="White" HorizontalAlign="Center"></PagerStyle>
                            <Columns>
                                <asp:TemplateColumn>
                                    <ItemTemplate>
                                        <asp:Label ID="TempLabel" runat="server"></asp:Label>
                                    </ItemTemplate>
                                    <HeaderStyle Width="30px" />
                                </asp:TemplateColumn>
                                <asp:BoundColumn DataField="USERID" HeaderText="用户代号"  />
                                <asp:BoundColumn DataField="USERNAME" HeaderText="用户名称" />
                                <asp:BoundColumn DataField="GRPDESC" HeaderText="用户类型" />
                                
                            </Columns>
                            <ItemStyle ForeColor="#333333" BackColor="#F7F6F3"></ItemStyle>
                            <SelectedItemStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                            <HeaderStyle ForeColor="White" BackColor="#5D7B9D" Font-Bold="True" Height="25">
                            </HeaderStyle>
                            <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
                            <AlternatingItemStyle BackColor="White" ForeColor="#284775" />
                            <EditItemStyle BackColor="#999999" />
                        </cc1:GridViewPlus2>
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</asp:Content>
